﻿Public Class CentroEstudio

    Private _idCentroEstudio
    Public Property idCentroEstudio() As Integer
        Get
            Return _idCentroEstudio
        End Get
        Set(ByVal value As Integer)
            _idCentroEstudio = value
        End Set
    End Property


    Private _Distrito
    Public Property Distrito() As String
        Get
            Return _Distrito
        End Get
        Set(ByVal value As String)
            _Distrito = value
        End Set
    End Property



    Private _Nombre
    Public Property Nombre() As String
        Get
            Return _Nombre
        End Get
        Set(ByVal value As String)
            _Nombre = value
        End Set
    End Property


    Private _Direccion
    Public Property Direccion() As String
        Get
            Return _Direccion
        End Get
        Set(ByVal value As String)
            _Direccion = value
        End Set
    End Property



    'Un centro de estudio puede tener muchos inmueble

    Private _Inmueble As Collection
    Public Property Inmueble() As Collection
        Get
            Return _Inmueble

        End Get
        Set(ByVal value As Collection)
            _Inmueble = value
        End Set
    End Property

    'Un estudiante puede tener un centro de estudio

    'Private _Estudiante As Estudiante
    'Public Property Estudiante() As Estudiante
    '    Get
    '        Return _Estudiante
    '    End Get
    '    Set(ByVal value As Estudiante)
    '        _Estudiante = value
    '    End Set
    'End Property
End Class


